void z(){
  TFile *f = new TFile(getenv("TMP1"));
	// TDirectory *f1 = (TDirectory *)f->Get("UserAnaTask/pid");

  TTree *etf = (TTree *)f->Get("etf");

	TCanvas *c = new TCanvas("c", "pid calibration", 1680, 1050);
	// TH2F *hpid0 = (TH2F *)f1->Get("hpid0");
	// hpid0->Draw();
	c->Divide(2,1);
	c->cd(1)->SetGrid();
	etf->Draw("az0>>(1000, 5., 43.)");
	c->cd(2)->SetGrid();
	c->cd(2)->SetLogz(0);
	etf->Draw("az0:aaoz0>>h2(1000, 1.9, 2.65, 1000, 5., 43.)", "", "colz");

	// c->cd(2)->SetGrid();
	// etf->Draw("z0:beta0>>h2(500, 0.5, 0.65, 500, 14., 39.)", "", "colz");

	// c->cd(2)->SetGrid();
	// etf->Draw("z0>>h3(1000, 0., 39.)", "", "colz");

	// c->cd(4)->SetGrid();
	// c->cd(4)->SetLogz(0);
	// etf->Draw("z0c:aoz0c>>h4(1000, 1.9, 2.3, 1000, 14., 39.)", "", "colz");

	// c->cd(5)->SetGrid();
	// etf->Draw("z0c:beta0>>h5(500, 0.5, 0.65, 500, 14., 39.)", "", "colz");

	// c->cd(6)->SetGrid();
	// etf->Draw("z0c>>h6(1000, 14., 39.)", "", "colz");
} // end z
